// 全局参数
   public static class GlobalData
    {
        public static string AccessToken { get; private set; }
        public static string RoomId { get; private set; }

        public static string RoundId { get; private set; }

        public static string TiIndex { get; private set; }

        public static string ClassAName { get; private set; }
        public static string ClassBName { get; private set; }

        public static void Initialize()
        {
            ClassAName = "黄X中学";
            ClassBName = "衡X中学";
        }

        public static void SetAccessToken(string accessToken)
        {
            AccessToken = accessToken;
        }

        public static void SetRoomId(string roomId)
        {
            RoomId = roomId;
        }

        public static void SetRoundId(string roundId)
        {
            RoundId = roundId;
        }

        public static void SetTiIndex(string tiIndex)
        {
            TiIndex = tiIndex;
        }
    }
